package org.ws.lifebacklog.event;

import org.ws.lifebacklog.util.Callback;

import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.Uri;

/**
 * @author sergey.valuy
 * 
 */
abstract public class GenericEvent extends Intent implements Callback {

	private static final String FILTER = "GenericEvent";
	public static final String KEY_EVENT_TYPE = "KEY_EVENT_TYPE";

	public GenericEvent() {
		super(FILTER);
	}

	public GenericEvent(Intent o) {
		super(o);

	}

	public GenericEvent(String action, Uri uri, Context packageContext, Class<?> cls) {
		super(action, uri, packageContext, cls);

	}

	public GenericEvent(String action, Uri uri) {
		super(action, uri);

	}

	protected GenericEvent(String action) {
		super(action);

	}

	public static IntentFilter getDefaultIntentFilter() {
		return new IntentFilter(FILTER);
	}
}
